uniform vec2 gvTexSize;
uniform vec2 gvTexScale;

varying vec2 vTexCoord;

void main() {
	vTexCoord = mod(gl_Vertex.xy * gvTexScale, gvTexSize);

	gl_FrontColor = gl_Color;
	gl_Position = ftransform();
}
